<?php

class Transaction {

	public $id;
	public $description;
	public $date;
	public $amount;
	public $bankRef;
	public $type;
	public $reconciled;
	public $budgetitemid;
	public $categoryId;


	public function __construct($id, $description, $date, $amount, $bankRef, $type, $reconciled, $budgetitemid, $categoryId)  {
		$this->id = $id;
		$this->description = $description;
		$this->date = $date;
		$this->amount = $amount;
		$this->bankRef = $bankRef;
		$this->type = $type;
		$this->reconciled = $reconciled;
		$this->budgetitemid = $budgetitemid;
		$this->categoryId = $categoryId;
	}
}

?>